import sys

from cx_Freeze import setup, Executable
build_options={'packages':['atexit'],"compressed": True}

# buildOptions = dict( compressed = True, excludes = ['cookielib', 'getpass', 'urllib', 
# 	'urllib2', 'ssl', 'termios', 'matplotlib', "Tkconstants", "Tkinter", "tcl",
# 	 "_imagingtk", "ImageTk", "FixTk", 'wx', 'PyQt4.QtAssistant', 'PyQt4.QtOpenGL', 
# 	 'PyQt4.QtScript', 'PyQt4.QtSql', 'PyQt4.QtTest', 'qt' ], 
# 	 includes = ['PyQt4.QtWebKit','PyQt4.QtNetwork', 'sqlite3'])

base = None
#if sys.platform == "win32":
#    base = "Win32GUI"

setup(
        name = "lottery",
        version = "0.1",
        description = "lottery client",
        options = {'build_exe':build_options},
        executables = [Executable("main.py", base = base,icon ="program.ico")])

